﻿using Dyao.Book.Contract;

namespace Dyao.Book.Application.Abstractions
{
    public interface ITaskCenterApplication
    {

        /// <summary>
        /// 创建任务
        /// </summary>
        /// <param name="taskCenterFilterModel">任务查询参数</param>
        /// <param name="cancellationToken">取消令牌</param>
        /// <returns></returns>
        Task<int> CreateTaskAsync(TaskCenterCreateDto taskCenterFilterModel, object requestParams, CancellationToken cancellationToken = default);
    }
}
